Type fixes on build_manager, still needs to work

Made it so it doesn't throw errors, still needs to work