Fix improper mapping breaking static file linking