Enable compiler optimization and remove unused packages