build: fixed a typo that prevented --bundled-libraries from working correctly